// Created by Magnus Leijonborg 090213

int getPid(int pidId);
int getIR(int pidId);
void setPid(int pidId, double pid_value);
void setIR(int irId, int ir_value);
int calibrate();
int getIRmax();
void initStabilization(char rollport, char pitchport);
double get_roll_angle();
int get_roll_raw();
int get_pitch_raw();
double get_pitch_angle();
int do_pitch_PID(int target, double Pangle);
int do_roll_PID(int target, double Rangle);
